package com.baozhun.mall.common.model.bean

import androidx.annotation.Keep
import java.io.Serializable

/**
 * @Title：品牌信息
 * @Description：
 * @Author：xing.luo
 * @Since：2022/12/10
 * @Version：1.0.0
 */
@Keep
class BrandInfoBean(
    var id: String,
    var brand_name: String,
    var brand_img: String,
    var brand_logo: String,
    var goods_count: Int,
    var channel_goods_count: Int = 1,
    var custom_goods_count: Int = 1,
) : Serializable {

    fun getGoodsCountString(): String {
        return goods_count.toString() + "件 商品"
    }

    fun showGoodsTypeTab(): Boolean {
        return channel_goods_count > 0 && custom_goods_count > 0
    }

}